package com.jsmile.cloud.promotioncenter.web.mq.order;

import com.jsmile.cloud.tradecenter.api.enums.OrderStatusEnum;
import com.jsmile.cloud.tradecenter.api.res.ResOrder;

/**
 * 订单状态变化
 */
public interface IOrder {

    /**
     * 执行不同的业务逻辑
     */
    public void execute(ResOrder order, OrderStatusEnum orderStatusEnum);

    public OrderStatusEnum orderStatus();
}
